1 Everything should compile fine using NAnt 0.85 final.
\r
2 You can find the latest version at http://nant.sourceforge.net/
\r
4 Anyway, the following are some useful tips if things go wrong for some reason.
\r
6 Where to start the build?
\r
7 =========================
\r
9 Use the default.build in the root directory. It compiles everything in the right order, copies dependencies and so on.
\r
18 If you have MS SQL Server installed (default instance) just create two databases:
\r
23 If not, and you want to run the database tests, you must set the connection string, dialect and driver through NAnt defines. Otherwise you can disable the tests (see below).
\r
25 The basic NHibernate settings can be set as NAnt arguments:
\r
27 - ar.dialect sets the NHibernate dialect
\r
29 > -D:ar.dialect=NHibernate.Dialect.MsSql2000Dialect
\r
31 - ar.connection.driver_class sets the driver
\r
33 > -D:ar.connection.driver_class=NHibernate.Driver.SqlClientDriver
\r
35 - ar.connection.connection_string{1,2} set the connection strings for the test and test2 databases
\r
37 > -D:ar.connection.connection_string.1="Data Source=.;Initial Catalog=test;Integrated Security=SSPI;"
\r
38 > -D:ar.connection.connection_string.2="Data Source=.;Initial Catalog=test2;Integrated Security=SSPI;"
\r
46 > nant -D:common.run-tests=false
\r
48 Selecting a different test framework (EXPERIMENTAL)
\r
52 > nant -D:testrunner=NUnit
\r
55 > nant -D:testrunner=MbUnit
\r
58 MbUnit or NUnit needs to be on the path, otherwise NAnt's built-in nunit2 task will be used.
\r
60 Compiling a Debug version
\r
61 -------------------------
\r
63 > nant -D:project.config=debug
\r
65 Compiling a version not strongly signed
\r
66 ---------------------------------------
\r
68 > nant -D:sign=false
\r
71 Allowing partial trust
\r
72 ----------------------
\r
74 > nant -D:assembly.allow-partially-trusted-callers=true
\r
80 Please direct more questions to our devel mailing list or our forum at http://www.castleproject.org/
\r